package com.liveneo.adapter.base.mapper;

import java.util.Map;

import com.liveneo.adapter.base.entity.PrpmSurveyUser;

public interface PrpmSurveyUserMapper {
    int deleteByPrimaryKey(String surveyUserId);

    int insert(PrpmSurveyUser record);

    int insertSelective(PrpmSurveyUser record);

    PrpmSurveyUser selectByPrimaryKey(String surveyUserId);

    int updateByPrimaryKeySelective(PrpmSurveyUser record);

    int updateByPrimaryKey(PrpmSurveyUser record);

    PrpmSurveyUser findByUserCode(String userCode);
    
    PrpmSurveyUser findUserByPhone(String phone);
    
    PrpmSurveyUser findByUserCodeAndType(Map<String,String> map);

}